package com.kgc.ebookmanagement2.service;

import com.kgc.ebookmanagement2.mapper.Ebook_CategoryMapper;
import com.kgc.ebookmanagement2.pojo.Ebook_Category;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Ebook_CategoryServiceImpl implements Ebook_CategoryService {
    @Resource
    Ebook_CategoryMapper categoryMapper;
    @Override
    public List<Ebook_Category> getSelectAll() {
        List<Ebook_Category> list=categoryMapper.selectByExample(null);
        return list;
    }
}